﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ManagerClinic.Core.Common;
using ManagerClinic.Core.DataAccess;

namespace ManagerClinic.Core.Business
{
    public class DmGhiChuCachDungBussiness
    {
        DmGhiChuCachDungDataAccess objDa = null;

        public DmGhiChuCachDungBussiness()
        {
            objDa = new DmGhiChuCachDungDataAccess();
        }

        public bool InsertDmGhiChuCachDung(DmGhiChuCachDungEntity obj)
        {
            return objDa.InsertDmGhiChuCachDung(obj);
        }

        public bool EditDmGhiChuCachDung(DmGhiChuCachDungEntity obj)
        {
            return objDa.EditDmGhiChuCachDung(obj);
        }

        public bool DeleteDmGhiChuCachDung(string maGhiChuCachDung)
        {
            return objDa.DeleteDmGhiChuCachDung(maGhiChuCachDung);
        }

        public DmGhiChuCachDungEntity GetDmGhiChuCachDung(string maGhiChuCachDung)
        {
            return objDa.GetDmGhiChuCachDung(maGhiChuCachDung);
        }

        public IList<DmGhiChuCachDungEntity> GetDmGhiChuCachDungList()
        {
            return objDa.GetDmGhiChuCachDungList();
        }

    }
}
